<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
  <script>
    let obj = {
      arr: [
        {
          id: '1',
          name: 'huangjian'
        },
        {
          id: '2',
          name: 'huangkang'
        }
      ]
    };

    console.log(obj.arr.find(o => o.id=='1'));
  </script>
</body>
</html>
